body {
  font-family: Arial, sans-serif;
  background-color: #222222;
  color: #c4c4c4;
}


@media only screen and (min-width: 971px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

    a{
      text-decoration: none;
      color:rgb(0, 106, 255);
    }
    
    /* #region Nav Bar Elements */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;
      background-color: #1a1a1a;
      box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
    }
      
    .nav-center {
      display: flex;
      margin-right: -130px;
      justify-content: center;
      flex: 1;
    }
      
    nav a {
      margin: 0 15px;
      text-decoration: none;
      color: #c4c4c4;
      font-weight: bold;
      transition: transform 0.5s;
    }
    nav a:hover{
      transform: translateY(-5px);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    /* #region Currency Selector */
        .currency-selector select {
            background-color: #2a2a2a;
            color: #c4c4c4;
            border: 1px solid #555;
            border-radius: 4px;
            padding: 5px 8px;
            font-size: 14px;
            cursor: pointer;
        }
    
        .currency-selector select:hover {
            border-color: #777;
        }
    
        .currency-selector select:focus {
            outline: none;
            border-color: #0066cc;
        }
        /* #endregion Currency Selector */
    
    /* #endregion */

    /* #region Hero Section Elements */
      .hero {
        text-align: center;
        padding: 80px 20px;
        max-width: 1500;
      }
      .hero img{
        width: 300px;
        background: #333;
        border-radius: 300px;
        align-items: center;
        padding: 4px;
      }
      .hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
      }
      .button {
        display: inline-block;
        color: #c4c4c4;
        padding: 12px 24px;
        background: none;
        border: 2px solid #333;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        transition: transform 0.5s;
      }
      .button:hover{
        transform: translateY(-5px);
        cursor: pointer;
      }
    /* #endregion */

    /* #region Sections */

      .section {
        padding: 60px 20px;
        text-align: center;
      }
      .section h2 {
        font-size: 32px;
        margin-bottom: 40px;
      }

      /* #region Game Card Section */
        .games, .coming-soon, .more {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          gap: 20px;
        }
        .game-card {
          background-color: #333;
          text-align: left;
          width: 200px;
          border-radius: 10px;
          padding-top: 2px;
          padding-left: 2px;
          padding-right: 2px;
          padding-bottom: -10px;
          color: #c4c4c4;
          box-shadow: 0 2px 6px #333;
          transition: transform 0.5s;
          cursor: pointer;
        }
        .game-card img {
          width: 100%;
          border-radius: 8px;
          
        }
        .game-card h1{
          font-size: 20px;
        }
        .game-card:hover{
          transform: translateY(-5px);
        }
      /* #endregion */

    /* #endregion */

    .small-container {
      max-width: 1200px;
      margin: auto;
      padding-left: 25px;
      padding-right: 25px;
    }

    /* #region Game Page Elements */
    
      /* #region Devlog Elements */
        .devlog {
          background-color: rgba(0, 0, 0, 0.5);
          padding: 20px;
          border-radius: 30px;
          box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
          margin: 20px 0;
        }
        .devlog h3 {
          text-align: left;
          text-shadow: 3px 3px black;
        }
        .devlog h2 {
          text-align: left;
          text-shadow: 3px 3px black;
        }
        .devlog p {
          text-align: left;
        }
        .devlog img{
          width: 300px;
          border-radius: 20px;
          margin-bottom: 20px;
        }

      /* #endregion */

    /* #endregion */

    /* #region Slideshow Elements */
      .slideshow {
        position: relative;
        max-width: 600px;
        margin: 0 auto;
      }
      .slide {
        display: none;
        padding: 10px;
        background: #333;
        border-radius: 10px;
      }
      .slide.active {
        display: block;
      }
      
      /* Slide image */
      .slideshow img {
        text-align: center;
        width: 100%;
        border-radius: 10px;
      }

      /* Slide text */
      .slide-text {
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: white;
        font-size: 20px;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
        border-radius: 5px;
        text-align: left;
      }

      /* Slide name */
      .slide-name {
        font-size: 24px;
        font-weight: bold;
      }

      /* Slide description */
      .slide-description {
        font-size: 16px;
      }

      /* Thumbnails */
    .thumbnail-container {
      display: flex;
      max-block-size: 50%;
      justify-content: center;
      margin-top: 10px;
    }

    .thumbnail {
      height: 10px;
      width: 10px;
      margin: 0 5px;
      cursor: pointer;
      border-radius: 30px;
      border: 0.5px solid black;
      box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
      background-color: #c4c4c4;
      transition: transform 0.3s;
    }

    .thumbnail:hover {
      transform: scale(1.1);
    }

    /* Button */
    .slide-button {
      display: inline-block;
      background: #333;
      border: none;
      font-weight: bold;
      color: #c4c4c4;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.3s;
      position: absolute;
      bottom: 20px;
      right: 20px;
    }

    .slide-button:hover {
      background-color: #232323;
    }
    /* #endregion */
    
    /* #region Form Elements */
    form{
        padding: 60px 20px;
        text-align: center;
    }
    form input {
      color: #c4c4c4;
      text-align: left;
      background: none;
      width: 25%;
      padding: 9px 30px;
      border-radius: 30px;
      border: 2px solid #333333;
      box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
    }
    form button {
      display: inline-block;
      color: #c4c4c4;
      background: none;
      padding: 9px 30px;
      margin: 30px 0;
      border-radius: 30px;
      border: 2px solid #333333;
      box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
      transition: transform 0.5s;
    }
    form button:hover {
      cursor: pointer;
      transform: translateY(-2px);
    }
    form input::placeholder{
      color: #a3a3a3;
    }

    /* #endregion */
  
  
  
  }

/* Mobile CSS Elements */
@media only screen and (max-width: 971px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

    a {
        text-decoration: none;
        color: rgb(0, 106, 255);
    }
    
    /* #region Nav Bar Elements */
      nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
        background-color: #1a1a1a;
        box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
      }
      
      .nav-center {
        display: flex;
        justify-content: center;
        flex: 1;
      }
      
      nav a {
        margin: 0 15px;
        text-decoration: none;
        color: #c4c4c4;
        font-weight: bold;
        transition: transform 0.5s;
      }
      nav a:hover{
        transform: translateY(-5px);
      }
    /* #endregion */

    /* #region Hero Section Elements */
      .hero {
        text-align: center;
        padding: 80px 20px;
        max-width: 1500;
      }
      .hero img{
        width: 300px;
        background: #333;
        border-radius: 300px;
        align-items: center;
        padding-bottom: 2px;
        padding-right: 2px;
      }
      .hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
      }
      .button {
        display: inline-block;
        color: #c4c4c4;
        padding: 12px 24px;
        background: none;
        border: 2px solid #333;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        transition: transform 0.5s;
      }
      .button:hover{
        transform: translateY(-5px);
        cursor: pointer;
      }
    /* #endregion */

    /* #region Sections */

      .section {
        padding: 60px 20px;
        text-align: center;
      }
      .section h2 {
        font-size: 32px;
        margin-bottom: 40px;
      }

      /* #region Game Card Section */
        .games, .coming-soon, .more {
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          gap: 20px;
        }
        .game-card {
          text-align: left;
          width: 200px;
          padding: 10px;
          border-radius: 10px;
          color: #c4c4c4;
          box-shadow: 0 2px 6px #333;
          transition: transform 0.5s;
          cursor: pointer;
        }
        .game-card img {
          width: 100%;
          border-radius: 8px;
          
        }
        .game-card h1{
          font-size: 20px;
        }
        .game-card:hover{
          transform: translateY(-5px);
        }
      /* #endregion */

    /* #endregion */

    .small-container {
      max-width: 1200px;
      margin: auto;
      padding-left: 25px;
      padding-right: 25px;
    }
    img{
      width: 150px;
    }

    /* #region Game Page Elements */
    
      /* #region Devlog Elements */

        .devlog {
          background-color: rgba(0, 0, 0, 0.5);
          padding: 20px;
          border-radius: 30px;
          box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
          margin: 20px 0;
        }
        .devlog img{
          max-width: 150px;
          border-radius: 30px;
        }
        .devlog h3 {
          text-align: left;
          text-shadow: 3px 3px black;
        }
        .devlog h2 {
          text-align: left;
          text-shadow: 3px 3px black;
        }
        .devlog p {
          text-align: left;
        }

      /* #endregion */

    /* #endregion */

    /* #region Slideshow Elements */
      .slideshow {
        position: relative;
        max-width: 600px;
        margin: 0 auto;
      }
      .slide {
        display: none;
        padding: 10px;
        background: #333;
        border-radius: 10px;
      }
      .slide.active {
        display: block;
      }
      
      /* Slide image */
      .slideshow img {
        text-align: center;
        width: 100%;
        border-radius: 10px;
      }

      /* Slide text */
      .slide-text {
        position: absolute;
        bottom: 20px;
        left: 20px;
        color: white;
        font-size: 20px;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
        border-radius: 5px;
        text-align: left;
      }

      /* Slide name */
      .slide-name {
        font-size: 24px;
        font-weight: bold;
      }

      /* Slide description */
      .slide-description {
        font-size: 16px;
      }

      /* Thumbnails */
    .thumbnail-container {
      display: flex;
      max-block-size: 50%;
      justify-content: center;
      margin-top: 10px;
    }

    .thumbnail {
      height: 10px;
      width: 10px;
      margin: 0 5px;
      cursor: pointer;
      border-radius: 30px;
      border: 0.5px solid black;
      box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
      background-color: #c4c4c4;
      transition: transform 0.3s;
    }

    .thumbnail:hover {
      transform: scale(1.1);
    }

    /* Button */
    .slide-button {
      display: inline-block;
      background: #333;
      border: none;
      font-weight: bold;
      color: #c4c4c4;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.3s;
      position: absolute;
      bottom: 20px;
      right: 20px;
    }

    .slide-button:hover {
      background-color: #232323;
    }
    /* #endregion */
    
    /* #region Form Elements */
    form{
        padding: 60px 20px;
        text-align: center;
    }
    form input {
      color: #c4c4c4;
      text-align: left;
      background: none;
      width: 50%;
      padding: 9px 30px;
      border-radius: 30px;
      border: 2px solid #333333;
      box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
    }
    form button {
      display: inline-block;
      color: #c4c4c4;
      background: none;
      padding: 9px 30px;
      margin: 30px 0;
      border-radius: 30px;
      border: 2px solid #333333;
      box-shadow: 0 2px 4px rgba(192, 192, 192, 0.1);
      transition: transform 0.5s;
    }
    form button:hover {
      cursor: pointer;
      transform: translateY(-2px);
    }
    form input::placeholder{
      color: #a3a3a3;
    }

    /* #endregion */
  

    }

/* #region Store Elements */

/* Cart Icon */
.cart-icon {
  position: relative;
  margin-left: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #c4c4c4;
  font-size: 20px;
  transition: transform 0.5s;
}

.cart-icon:hover {
  transform: translateY(-5px);
}

.cart-count {
  background-color: #ff4444;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}

/* Product Cards */
.product-card {
  background-color: #333;
  text-align: left;
  width: 250px;
  border-radius: 10px;
  padding: 15px;
  color: #c4c4c4;
  box-shadow: 0 2px 6px #333;
  transition: transform 0.5s;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-description {
  flex: 1;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.product-price {
  font-size: 24px;
  font-weight: bold;
  color: #4CAF50;
  margin-bottom: 15px;
}

.add-to-cart-btn, .view-details-btn {
  padding: 10px 15px;
  border: 2px solid #333;
  border-radius: 5px;
  background: none;
  color: #c4c4c4;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  margin-bottom: 8px;
  font-weight: bold;
}

.add-to-cart-btn:hover {
  background-color: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

/* Filter Section Styles */
.filter-section {
  margin-bottom: 30px;
  text-align: center;
}

.filter-section h3 {
  margin-bottom: 20px;
  color: #c4c4c4;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 16px;
  background: none;
  border: 2px solid #333;
  color: #c4c4c4;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  border-color: #007BFF;
  color: #007BFF;
}

.filter-btn.active {
  background-color: #007BFF;
  border-color: #007BFF;
  color: white;
}

/* Product Modal Styles */
.product-modal-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.product-modal-image {
  flex: 1;
  max-width: 300px;
}

.product-modal-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-modal-details {
  flex: 2;
}

.product-modal-details h3 {
  margin-bottom: 15px;
  color: #c4c4c4;
  font-size: 24px;
}

.product-modal-details p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #c4c4c4;
}

.product-modal-features,
.product-modal-specs {
  margin-bottom: 20px;
}

.product-modal-features h4,
.product-modal-specs h4 {
  margin-bottom: 10px;
  color: #c4c4c4;
  font-size: 16px;
}

.product-modal-features ul,
.product-modal-specs ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #c4c4c4;
}

.product-modal-features li,
.product-modal-specs li {
  margin-bottom: 5px;
}

.product-modal-price {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #333;
  border-radius: 8px;
  text-align: center;
}

.product-modal-price h3 {
  margin: 0;
  color: #007BFF;
  font-size: 20px;
}

.product-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.view-details-btn:hover {
  background-color: #007BFF;
  border-color: #007BFF;
  color: white;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #333;
  margin: 5% auto;
  padding: 0;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-header {
  background-color: #444;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  color: #c4c4c4;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #fff;
}

.modal-body {
  padding: 20px;
  color: #c4c4c4;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid #555;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Cart Items */
.cart-item, .checkout-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #555;
}

.cart-item:last-child, .checkout-item:last-child {
  border-bottom: none;
}

.cart-item-image, .checkout-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.cart-item-details, .checkout-item-details {
  flex: 1;
}

.cart-item-details h4, .checkout-item-details h4 {
  margin: 0 0 5px 0;
  color: #c4c4c4;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity-controls input {
  width: 60px;
  padding: 5px;
  border: 1px solid #555;
  border-radius: 3px;
  background-color: #444;
  color: #c4c4c4;
}

.remove-btn {
  background-color: #ff4444;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.remove-btn:hover {
  background-color: #cc3333;
}

.cart-total, .checkout-total {
  text-align: right;
  padding: 15px 0;
  border-top: 2px solid #555;
  margin-top: 15px;
  font-size: 18px;
}

.checkout-btn {
  background-color: #4CAF50 !important;
  border-color: #4CAF50 !important;
  color: white !important;
}

.checkout-btn:hover {
  background-color: #45a049 !important;
}

.payment-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #555;
}

.payment-section h3 {
  margin-bottom: 15px;
  color: #c4c4c4;
}

/* Ensure all text elements in payment section use off-white color */
.payment-section label,
.payment-section p,
.payment-section span,
.payment-section h1,
.payment-section h2,
.payment-section h3,
.payment-section h4,
.payment-section h5,
.payment-section h6,
.payment-section div:not(input) {
  color: #ffffff !important;
}

/* Credit card form styling */
.payment-section .credit-card-form label {
  color: #c4c4c4;
  font-weight: normal;
  margin-bottom: 5px;
  display: block;
}

.payment-section .form-group label {
  color: #c4c4c4;
}

.payment-section .payment-method-title {
  color: #c4c4c4;
}

#paypal-button-container {
  margin-top: 15px;
}/* Notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #333;
  color: #c4c4c4;
  padding: 15px 20px;
  border-radius: 5px;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile Store Styles */
@media only screen and (max-width: 971px) {
  .cart-icon {
    font-size: 18px;
  }
  
  .product-card {
    width: 200px;
    padding: 10px;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .cart-item-image, .checkout-item-image {
    width: 60px;
    height: 60px;
  }
  
  .quantity-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  /* Mobile Filter Styles */
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
    margin-bottom: 5px;
  }
  
  /* Mobile Product Modal Styles */
  .product-modal-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .product-modal-image {
    max-width: 100%;
  }
  
  .product-modal-actions {
    flex-direction: column;
  }
  
  .product-modal-actions button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* #endregion */